import cateRoute from './cate/route';
import goodsRoute from './goods/route';
import levelRoute from './level/route';
import transRoute from './trans/route';
import typesRoute from './types/route';
export default [
    {
        path:'/main',
        name:'main',
        component:()=>import('./index.vue'),
        redirect:{
            name:'home'
        },
        children:[
            {
                path:'/main/home',
                name:'home',
                component:()=>import('./home/home.vue')
            },
            {
                path:'/main/mine',
                name:'mine',
                component:()=>import('./mine/mine.vue')
            },
            ...cateRoute,
            ...goodsRoute,
            ...levelRoute,
            ...transRoute,
            ...typesRoute
        ],
    }
];